const SentryCliPlugin = require('@sentry/webpack-plugin');
module.exports = function override(config, env) {
  config.devtool = 'source-map';
  config.plugins.push(
    new SentryCliPlugin({
      release: '0.0.1',
      authToken: '2f9ce757fd5d411ca6f3d64ffa71fecadc084676ccf04e1387212e2bed5e5b66',
      url: 'http://47.96.165.214:9000',
      org: 'sentry',
      project: 'cra-react-test',
      urlPrefix: '~/',
      include: './build',
      ignore: ['node_modules'],
    })
  );
  return config;
}